:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #2c3e50;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

.sidebar {
    background-color:#2c3e50;
    color: white;
    height: 100vh;
    position: fixed;
    padding-top: 20px;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    margin: 5px 0;
    border-radius: 5px;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.main-content {
    margin-left: 250px;
    padding: 20px;
}

.dashboard-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 20px;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
    font-weight: 600;
}

.stat-card {
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stat-card.todo {
    border-left-color: #3498db;
}

.stat-card.jobs {
    border-left-color: #f39c12;
}

.stat-card.productivity {
    border-left-color: #2ecc71;
}

.stat-card.revenue {
    border-left-color: #9b59b6;
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #7f8c8d;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 5px 0;
}

.stat-description {
    font-size: 0.8rem;
    color: #95a5a6;
}

.chart-container {
    height: 300px;
    width: 100%;
}

.brand-logo {
    padding: 10px 20px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.header-bar {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.todo-item {
    border-left: 4px solid #3498db;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.todo-item:hover {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.todo-item.high-priority {
    border-left-color: #e74c3c;
}

.todo-item.medium-priority {
    border-left-color: #f39c12;
}

.todo-item.low-priority {
    border-left-color: #2ecc71;
}

.todo-item .progress {
    height: 6px;
    margin-top: 5px;
}

.todo-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    cursor: pointer;
}

.technician-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.legend-item {
    display: inline-block;
    margin-right: 15px;
}

.color-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 5px;
}

.job-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    margin-bottom: 10px;
}

.job-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.assignee-icon {
    width: 30px;
    height: 30px;
    background-color: #f1c40f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.technician-stats .progress {
    height: 8px;
    border-radius: 4px;
}

.calendar-day {
    width: 14.28%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    margin: 2px;
    font-weight: 500;
    font-size: 0.9rem;
}

.calendar-day.service-day {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.calendar-day.current {
    background-color: #3498db;
    color: white;
}

@media (max-width: 992px) {
    .sidebar {
        width: 70px;
    }
    
    .sidebar .nav-link span {
        display: none;
    }
    
    .main-content {
        margin-left: 70px;
    }
    
    .sidebar .brand-logo span {
        display: none;
    }
}
